$(function(){
    var time = new Array('18:00','18:30','19:00','19:30','20:00','20:30','21:00','21:30','22:00','22:30','23:00','23:30','00:00');
    
    function get_index(value){
        var len = time.length;
        for(var i=0; i<len; i++){
            if(time[i]===value){
                return i;
                break;
            }
        }
    }
    
    $('#time_picker').on('change',function(){
        var time_input  = $('#form-fixture').find('.time_input');
        var selected    = $('#time_picker').val();
        var index       = get_index(selected);
        time_input.each(function(){
            $(this).val(time[index]);
            index += 1;
        });
    })
});